package com.dao.secondary.device;
import com.model.domain.device.GetDeviceObdExFactoryBatchInfoDO;
import com.model.domain.device.GetDeviceObdRepairExFactoryBatchInfoDO;
import com.model.pojo.device.DeviceObdExFactoryBatchInfo;
import com.model.pojo.device.DeviceObdRepairExFactoryBatchInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceObdRepairExFactoryBatchInfoMapper {
    int deleteByPrimaryKey(@Param("deviceObdExFactoryBatchInfoId") Long deviceObdExFactoryBatchInfoId);

    int insert(DeviceObdExFactoryBatchInfo record);

    int insertSelective(DeviceObdRepairExFactoryBatchInfo record);

    DeviceObdRepairExFactoryBatchInfo selectByPrimaryKey(@Param("batchId") Long batchId);

    int updateByPrimaryKeySelective(DeviceObdRepairExFactoryBatchInfo record);

    int updateByPrimaryKey(DeviceObdExFactoryBatchInfo record);

    List<DeviceObdRepairExFactoryBatchInfo> selectList(GetDeviceObdRepairExFactoryBatchInfoDO getDeviceObdRepairExFactoryBatchInfoDO);

    void insertListSelective(List<DeviceObdExFactoryBatchInfo> deviceObdExFactoryBatchInfoList);

    void updateListSelective(List<DeviceObdExFactoryBatchInfo> deviceObdExFactoryBatchInfoList);

    int has(@Param("deviceObdExFactoryBatchInfoId") Long deviceObdExFactoryBatchInfoId, @Param("isDelete") Byte isDelete);
}